From: Giovanni Campagna Date: Wed, 15 Feb 2012 14:41:26 +0000 (+0100) Subject: NetworkAgent: rename VPN keyfile key to "supports-external-ui-mode" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7036 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c8020e6559683097814c577a095ece6554c2a65b;p=gnome-shell.git NetworkAgent: rename VPN keyfile key to "supports-external-ui-mode" Dan Williams requested this change before merging the plugin patches, so this is the key actually exposed. --- diff --git a/js/ui/networkAgent.js b/js/ui/networkAgent.js index e4a684452..bc3633351 100644 --- a/js/ui/networkAgent.js +++ b/js/ui/networkAgent.js @@ -680,7 +680,7 @@ const NetworkAgent = new Lang.Class({ let binary = keyfile.get_string('GNOME', 'auth-dialog'); let externalUIMode = false; try { - externalUIMode = keyfile.get_boolean('GNOME', 'external-ui-mode'); + externalUIMode = keyfile.get_boolean('GNOME', 'supports-external-ui-mode'); } catch(e) { } // ignore errors if key does not exist let path = GLib.build_filenamev([Config.LIBEXECDIR, binary]);